package net.vkits.api;

import io.swagger.annotations.*;
import net.vkits.common.dto.Order;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.List;

@javax.annotation.Generated(value = "class io.swagger.codegen.languages.SpringCodegen", date = "2016-10-27T05:49:23.577Z")

@Api(value = "orders", description = "the orders API")
@RequestMapping("/api/v2")
public interface OrdersApi {

    @ApiOperation(value = "return order list", notes = "return order list", response = Order.class, responseContainer = "List", tags={ "orders", })
    @ApiResponses(value = { 
        @ApiResponse(code = 200, message = "return order list", response = Order.class),
        @ApiResponse(code = 404, message = "something wrong", response = Order.class) })
    @RequestMapping(value = "/orders",
        produces = { "application/json" }, 
        method = RequestMethod.GET)
    ResponseEntity<List<Order>> ordersGet();

}
